package ab.mes.mapper;

import ab.mes.entity.orderDetainRecords;
import ab.mes.entity.orderFQARecords;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface orderDetainRecordsMapper extends BaseMapper<orderDetainRecords> {
    //根据起止日期查询订单扣留记录
    @Select("SELECT * FROM order_Detain_Records ${ew.customSqlSegment}")
    List<orderFQARecords> select1(@Param("ew") Wrapper wrapper);
}
